package com.demo.gateway;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by kai.feng on 2020-04-06 19:38
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/t1")
    public String aaa(@RequestParam(value = "name", defaultValue = "aaa") String name) {

        return name + " ,i am client from port:" ;
    }
}
